Add code to load and save pngs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Sep 2021 16:44:43 +0000 (12:44 -0400)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Sep 2021 22:25:22 +0000 (00:25 +0200)
commitf51f7f85ebd32528614dc4442afc98d5384c06fb
treebec53db1c5b887e26914052dbaeaa53e0ea9e41e
parent66031fd00b9a4968e482ea9fdf2edc17d9e30199
Add code to load and save pngs

Using libpng instead of the lowest-common-denominator
gdk-pixbuf loader. This will allow us to load >8bit data,
and apply gamma and color correction in the future.
For now, this still just provides RGBA8 data.

As a consequence, we are now linking against libpng.
gdk/loaders/gdkpng.c [new file with mode: 0644]
gdk/loaders/gdkpngprivate.h [new file with mode: 0644]
gdk/meson.build
meson.build
subprojects/libpng.wrap [new file with mode: 0644]